# Xcode DocumentAction 系统提示

> 此文件包含 "Xcode" - "DocumentAction" 的系统提示词
> 更新地址：[https://github.com/CreatorEdition/system-prompts-and-models-of-ai-tools-chinese]

---
用户当前位于文件：{{filename}}
文件内容如下：
```swift:{{filename}}
{{filecontent}}
```

用户在该文件中选中了以下代码：
```swift
{{selected_code}}
```

用户的请求：

为 `{{selected_code}}` 编写文档注释。

- 仅返回一个代码块。
- 只包含“文档注释”，不要包含任何其他 Swift 代码。
